<?php
$this->_toolbar = array(
		'title'		=>	Yii::t('app', 'View Detail').' #'.GxHtml::encode(GxHtml::valueEx($model)),
		'buttons'	=>	array(
			CHtml::link(Yii::t('admin_widgets', 'Update Widgets'), Yii::app()->createUrl('/admin_widgets/widgets/update',array('id'=>$model->id)), array('class'=>'button-s')),
			CHtml::link(Yii::t('admin_widgets', 'Delete News'), "", array(
				'submit'	=>	Yii::app()->createUrl('/admin_widgets/widgets/delete',array('command'=>'delete','id'=>$model->id)),
				'confirm'	=>	Yii::t('app','Are you sure you want to delete this item?'),
				'class'		=>	'button-s del'
			)),
		)
);

$this->widget('zii.widgets.CDetailView', array(
	'data' => $model,
	'attributes' => array(
'id',
'title',
'show_title:boolean',
'content',
'widget_name',
'ordering',
'position',
'params',
'created',
'created_by',
'modified',
'modified_by',
'published:boolean',
	),
)); ?>

